<?php

/*
	[SupeSite] (C) 2007-2009 Comsenz Inc.
	$Id: admin_spacenews.php 13513 2009-11-26 07:34:15Z zhaofei $
*/

if(!defined('IN_SUPESITE')) {
	exit('Access Denied');
}
$uid = $_SGLOBAL['user']['uid'];
$_POST['uid'] = $uid;
$modelClass = 'app\com\simtoon\models\User';
$date = YiiComm::executeByMethod($modelClass, 'getBonusInfo', $_POST);
if(count($date) > 0){
    foreach($date as $val){
        if($val['bonus_send_type'] == 1){
            $send_type = 'true';
        }
    }
}
include template('cp_mybonus');

?>
